package controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.MultipartHttpServletRequest;

@Controller
public class FileUploadController {
	
	@RequestMapping("/upload")
	public void uploadFile(MultipartHttpServletRequest req){
		MultipartFile file = req.getFile("image");
	}
}
